<link rel="stylesheet" href="__PUBLIC__/css/register.css">
<div>
	<include file='Public/center_adv' />
	<!-- <include file='Public/hot_sort' /> -->
</div>
<link rel="stylesheet" href="__PUBLIC__/js/plugin/validator-0.7.0/jquery.validator.css">
<div class='register_content clear'>
	<div class='register_banner'>
		<img src="__PUBLIC__/images/register_logo.jpg" alt="">
	</div>
	
	<ul class='register_ul clear'>
		<li point-div='register_form' class='active-li'>用户名注册</li>
		<li point-div='register_form_' >邮箱注册</li>
		<!-- <li point-div='register_login' >用户登录</li> -->
		<span class='login_direct' data-toggle="modal" data-target="#loginModal">直接登录</span>
	</ul>
	<div class='ul-point'>
		<div class='register_form li-point'>
			<!-- <div class='register_ok'>恭喜您，已成功注册成为来吃会员</div>
			<button class='btn btn-success'>直接登录</button> -->
			<div >
				<form role="form" name='register_form'>
				  <div class="form-group">
				    <label for="register_username">用户名<span class="msg-box n-right"  for="register_username"></span></label>
				    <input type="email" class="form-control" id="register_username" name='register_name' placeholder="用户名" maxLength='12'>

				  </div>
				  <div class="form-group">
				    <label for="register_password">密码<span class="msg-box n-right"  for="register_password"></span></label>
				    <input type="password" class="form-control" id="register_password" name='register_password' placeholder="请输入您的密码">
				  </div>
				  <div class="form-group">
				    <label for="register_repassword">确认密码<span class="msg-box n-right"  for="register_repassword"></span></label>
				    <input type="password" class="form-control" id="register_repassword" name='register_repassword' placeholder="请再次输入您的密码">
				  </div>
				  <div class="checkbox">
				    <label>
				      <input type="checkbox" name='register_protocol' status=0> 同意来吃网用户协议
				    </label>
				  </div>
				  <div class="form-group col-sm-8">
				 	 <button  class="btn btn-success btn-block" disabled="disabled" name='button_register' >注册(用户名)</button>
				  </div>
				</form>	
			</div>	
		</div>
		<div class='register_form_ li-point'>
			<div>
				<form role="form" name='register_form_'>
				  <div class="form-group">
				    <label for="register_email">邮箱<span class="msg-box n-right"  for="register_email"></span></label>
				    <input type="email" class="form-control" id="register_email" name='register_email' placeholder="邮箱" >

				  </div>
				  <div class="form-group">
				    <label for="register_password">密码<span class="msg-box n-right"  for="register_password_"></span></label>
				    <input type="password" class="form-control" id="register_password_" name='register_password_' placeholder="请输入您的密码">
				  </div>
				  <div class="form-group">
				    <label for="register_repassword">确认密码<span class="msg-box n-right"  for="register_repassword_"></span></label>
				    <input type="password" class="form-control" id="register_repassword_" name='register_repassword_' placeholder="请再次输入您的密码">
				  </div>
				  <div class="checkbox">
				    <label>
				      <input type="checkbox" name='register_protocol_' status=0> 同意来吃网用户协议
				    </label>
				  </div>
				  <div class="form-group col-sm-8">
				 	 <button  class="btn btn-success btn-block" disabled="disabled" name='button_register_' >注册(邮箱)</button>
				  </div>

				</form>	
			</div>	
		</div>		
<!-- 		<div class='register_login li-point'>
				
		</div> -->
	</div>
</div>

<script>
	var register_var = {
		ajax_check_name_unique_url:"__MODULE__/User/ajaxCheckNameUnique",
		ajax_check_email_unique_url:"__MODULE__/User/ajaxCheckEmailUnique",
		ajax_register_by_username_url:"__MODULE__/User/ajaxRegisterByName",
		ajax_register_by_email_url:"__MODULE__/User/ajaxRegisterByEmail",
		login_url:"__MODULE__/User/userLogin",
		index_url:"__MODULE__/Index/index"
	}

</script>